/** 
 * @Title: RabbitMqReceiver.java 
 * @Package com.axxc.jpa.task 
 * @Description: TODO(用一句话描述该文件做什么) 
 * @author xxc
 * @date 2018年8月3日 下午3:33:38 
 * @version V1.0 
 */
package com.axxc.jpa.task.rabbitmsg.receiver;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @ClassName: RabbitMqReceiver
 * @Description: 消息消费者
 * @author xxc
 * @date 2018年8月3日 下午3:33:38
 * @see http://47.98.248.215:15672/#/
 */
@Component
@RabbitListener(queues = "string_msg_queue")
public class RabbitMqStringMsgReceiverB {

	@RabbitHandler
	public void processB(String msg) {
		System.out.println("Receiver-消费者B  : " + msg);
	}
}
